package com.firemoss.atonement.test.mapper.objects
{
	import flash.utils.Dictionary;
	
	import mx.collections.ArrayCollection;

	public class ContactDTO extends Convenience
	{
		public var firstName : String
		public var lastName : String
		public var primaryAddress : AddressDTO
		[Ignore]
		public var ignoredProperty : Boolean
		[Ignore]
		public var ignoredAggregation : Array
		
		// YES, THESE TYPES LOOK BACKWARDS.  THAT IS CORRECT:  THEY'RE MAPPING TO THEIR INVERSE TYPE ON CONTACT.AS
		[CollectionOf("com.firemoss.atonement.test.mapper.objects.AddressDTO")]
		public var addressList : Array
		[CollectionOf("com.firemoss.atonement.test.mapper.objects.AddressDTO")]
		public var addressArray : ArrayCollection
		[CollectionOf("com.firemoss.atonement.test.mapper.objects.AddressDTO")]
		public var addressDictionary : Dictionary
		[CollectionOf("String")]
		public var stringArray : Array
	}
}